//
//  QuestionGroup.m
//  FreshBee
//
//  Created by 姜 祥云 on 16/10/16.
//  Copyright © 2016年 iOS013. All rights reserved.
//

#import "QuestionGroup.h"
#import "Question.h"
@implementation QuestionGroup

//-(void)setTexts:(NSDictionary *)texts
//{
//    NSMutableArray *nmArray=[[NSMutableArray alloc]init];
//    NSLog(@"%@",texts);
//    for(NSString *dict in texts){
//        
//        [nmArray addObject:[Question itemWithDict:dict]];
//    }
//    _texts=nmArray;
//}
-(instancetype)initWithDict:(NSDictionary *)dict
{
    self=[super init];
    if(self){
        [self setValuesForKeysWithDictionary:dict];
        
    }
    return self;
}
+(instancetype)questionWithDict:(NSDictionary *)dict{
    return [[self alloc]initWithDict:dict];
}


- (void)setValue:(id)value forUndefinedKey:(NSString *)key
{
    
}
@end
